package com.un.ebs.core.common;

import lombok.Data;

import java.io.Serializable;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/3/17 23:05
 */
@Data
public class KeyValueDto implements Serializable {

    private String key;

    private String value;

    public KeyValueDto() {

    }

    public KeyValueDto(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public static KeyValueDto value(String key, String value) {
        KeyValueDto ret = new KeyValueDto();
        ret.key = key;
        ret.value = value;
        return ret;
    }
}
